package top.malaoshi.webmvc.parameter;

import top.malaoshi.webmvc.info.MethodsArgumentInfo;
import top.malaoshi.webmvc.exception.RequestParamResolverException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface RequestParamAndMethodArgsResolver {

    public Object resolver(HttpServletRequest request,
                           HttpServletResponse response ,
                           MethodsArgumentInfo mai)
            throws RequestParamResolverException;
}
